package sicau.car.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectKey;
import sicau.car.entity.Notice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ITcz
 * @since 2020-07-28
 */
@Mapper
public interface NoticeMapper extends BaseMapper<Notice> {
//    @Insert("insert into order_info(user_id,goods_id,goods_name,goods_count,goods_price,order_channel,status,create_date) values(" +
//            "#{userId},#{goodsId},#{goodsName},#{goodsCount},#{goodsPrice},#{orderChannel},#{status},#{createDate})")
//    @SelectKey(keyColumn = "id",keyProperty = "id",resultType = long.class,before = false,statement = "select last_insert_id()")
//    public long insert(OrderInfo orderInfo);
//    @Insert("insert into notice(title,content,time,create_time,update_time) values()")
////    Boolean insertNotice(Notice notice);
}
